package com.nanhai.buddhist.college.module.collegebase.convert.accommodationroom;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.accommodationroom.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.accommodationroom.AccommodationRoomDO;

/**
 * 房间 Convert
 *
 * @author AKai
 */
@Mapper
public interface AccommodationRoomConvert {

    AccommodationRoomConvert INSTANCE = Mappers.getMapper(AccommodationRoomConvert.class);

    AccommodationRoomDO convert(AccommodationRoomCreateReqVO bean);

    AccommodationRoomDO convert(AccommodationRoomUpdateReqVO bean);

    AccommodationRoomRespVO convert(AccommodationRoomDO bean);

    List<AccommodationRoomRespVO> convertList(List<AccommodationRoomDO> list);

    PageResult<AccommodationRoomRespVO> convertPage(PageResult<AccommodationRoomDO> page);

    List<AccommodationRoomExcelVO> convertList02(List<AccommodationRoomDO> list);

}
